//
//  ACell.h
//  Study1
//
//  Created by ChenJie on 2/10/20.
//  Copyright © 2020 OrgName. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ACellVM.h"

@class ACell;

@protocol ACellDelegate <NSObject>

- (void)cell:(ACell *)cell iconDidClick:(UIView *)iconView;

@end

@interface ACell : UITableViewCell

@property (nonatomic, weak) id<ACellDelegate> delegate;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) ACellVM *viewModel;

+ (CGFloat)cellHeightWithCellModel:(ACellVM *)cellModel;

@end


